TenWebOptimizer\OptimizerMain D

Total Complexity 229
Dependencies 12
Dependents 2
Total lines 946
Lines of code 732
Logical lines of code 414
Comment lines 55
Methods 21
Properties 43

Methods 21

Method Rating Maintainability Complexity Lines of code
init()
D
16
71 204
end_buffering()
D
25
38 150
add_lazyload_js_footer()
C
36 24 75
should_serve_optimized_page()
A
48 16 31
set_modes()
A
51 13 24
add_delayed_javascript_execution_script_header()
A
38 8 95
reinit_lazy_load_options()
A
56 10 18
two_headers()
A
51 9 24
dirsize()
S
56 7 18
check_cache_dir()
S
56 7 18
detect_elementor_video_widget()
S
64 5 9
dequeue_jquery_migrate()
S
65 5 8
check_and_create_dirs()
S
62 4 11
get_instance()
S
72 2 6
clear_cache()
S
67 2 7
two_meta()
S
66 2 8
add_optimization_status_headers()
S
71 2 6
get_two_worker_data_script_tag()
S
74 1 4
two_enqueue_styles()
S
78 1 3
two_deregister_styles()
S
81 1 3
__construct()
S
62 1 10